package cn.huiyunche.base.service.constant;

/**
 * 微信系统常量配置
 *
 * @author hdy [Tuffy]
 */
public class WeixinConstant {

    /**
     * 微信企业号类型 key值
     */
    public static final String WEIXIN_QY_TYPE = "qy";

    /**
     * 微信app id key值
     */
    public static final String WEIXIN_APP_ID = "weixinAppId";

    /**
     * 微信app 密钥 key值
     */
    public static final String WEIXIN_APP_SECRET = "weixinAppSecret";

    /**
     * 微信校验token key值
     */
    public static final String WEIXIN_TOKEN = "weixinToken";

    /**
     * 微信获取openid url key值
     */
    public static final String WEIXIN_OPENID_URL = "weixinOpenIdUrl";

    /**
     * 主机地址 key值
     */
    public static final String HOST_ADDRESS = "hostAddress";

    /**
     * 微信获取access token cache key值
     */
    public static final String WEIXIN_ACCESS_TOKEN_CACHE = "weixin_access_token_cache";

    /**
     * 微信获取access token key值
     */
    public static final String WEIXIN_ACCESS_TOKEN = "weixin_access_token";

    /**
     * 微信获取企业号access token key值
     */
    public static final String WEIXIN_QY_ACCESS_TOKEN = "weixin_qy_access_token";

    /**
     * 微信获取access token url key值
     */
    public static final String WEIXIN_ACCESSTOKEN_URL = "weixinAccessTokenUrl";

    /**
     * 微信企业号获取access token url key值
     */
    public static final String WEIXIN_QY_ACCESSTOKEN_URL = "weixinQyAccessTokenUrl";

    /**
     * 微信获取用户信息 url key值
     */
    public static final String WEIXIN_USERINFO_URL = "weixinUserInfoUrl";

    /**
     * 微信企业号获取用户信息 url key值
     */
    public static final String WEIXIN_QY_USERINFO_URL = "weixinQyUserInfoUrl";

    /**
     * 微信企业号用户id换取open id url key值
     */
    public static final String WEIXIN_USERID_2_OPENID_URL = "weixinUserId2OpenIdUrl";

    /**
     * 微信公众号类型 key值
     */
    public static final String WEIXIN_TYPE = "weixinType";

    /**
     * 微信企业号js-sdk ticket url key
     */
    public static final String WEIXIN_QY_JSAPI_TICKET_URL = "weixinQyJsapiTicketUrl";

    /**
     * 微信js-sdk ticket url key
     */
    public static final String WEIXIN_JSAPI_TICKET_URL = "weixinJsapiTicketUrl";

    /**
     * 微信获取媒体文件 url
     */
    public static final String WEIXI_MEDIA_URL = "weixinMediaUrl";
    /**
     * 微信获取企业媒体文件 url
     */
    public static final String WEIXIN_QY_MEDIA_URL = "weixinQyMediaUrl";

    /**
     * 微信发送消息 url
     */
    public static final String WEIXIN_MESSAGE_URL = "weixinMessageUrl";

    /**
     * 微信企业发送消息 url
     */
    public static final String WEIXIN_QY_MESSAGE_URL = "weixinQyMessageUrl";

    /**
     * 微信自定义菜单 首页默认路由
     */
    public static final String WEIXIN_INDEX_OTHERWISE = "index";

    /**
     * 微信自定义菜单 登录页面路由
     */
    public static final String WEIXIN_LOGIN_OTHERWISE = "login";

    /**
     * 微信自定义菜单 不校验页面路由
     */
    public static final String WEIXIN_NO_CHECKED_OTHERWISE =
            "index, about, driver-sign, download, activity-index, activity-driver, activity-summary, single-memo, big-memo, activity-customer";

    /**
     * 微信初始化业务根路径
     */
    public static final String WEIXIN_CONTENT_PATH = "/weixin/index";

    public WeixinConstant() {
        super();
    }
}
